<style type="text/css">
/*--最底部--*/
.activity-bottom{width:100%;box-shadow:inset 0px 1px 0px 0px #dddddd;overflow: hidden;padding-top:26px;}
.activity-bottom-center{width:1200px;margin:auto;}
.activity-bottom-center p:nth-child(1){font-size:16px;color:#5fb878;text-align:center;}
.activity-bottom-center p:nth-child(2){font-size:14px;color:#aaaaaa;text-align:center;margin-top:11px;}
.activity-bottom-center p:nth-child(2) span{font-size:14px;color:#cccccc;text-align:left;margin-left:10px;}
</style>
<div class="activity-bottom" th:fragment="activity_bottom">
    <div class="activity-bottom-center">
        <p>运联（北京）会展有限公司 版权所有</p>
        <P><span>京ICP备17001150号</span>-1</P>
        <p style="height:30px;"></p>
    </div>
</div>
<script type="text/javascript">
    var _maq = _maq || [];
    _maq.push(['web_id', '11111']);
    
    (function() {
        var ma = document.createElement('script'); ma.type = 'text/javascript'; ma.async = true;
        ma.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'tj.vjuzhen.com/static/js/za.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ma, s);
    })();
</script>
<script type="text/javascript" th:inline="javascript">
    $(function() {
        var submenu = [[${submenu}]];
        var subMenu = $("#LEFT_MENU_" + submenu);
        var mainmenu = [[${mainmenu}]];
        var mainMenu = $("#MAINMENU_" + mainmenu);
        subMenu.addClass('layui-this');
        mainMenu.addClass('layui-this');
    });
    //    退出登录
    function logout(){
        url = "/logout.html";
        $.ajax({
            type : "GET",  //提交方式
            url : url,//路径
            dataType: "text",
            success : function(result) {//返回数据根据结果进行相应的处理
                t=Date.parse(new Date());
                location.href = result + "?t="+t;//退出统一登录
            }
        });
    }

    //导航栏
    layui.use('element', function(){
        var element = layui.element(); //导航的hover效果、二级菜单等功能，需要依赖element模块

        //监听导航点击
        element.on('nav(demo)', function(elem){
            //console.log(elem)
            layer.msg(elem.text());
        });
    });

    $("#searchName").keydown(function(event) {
        if (event.keyCode == 13) {
            search();
        }
    })

    function search() {
        var url = encodeURI('/searchActivity.html?searchName='+$("#searchName").val());
        window.location.href = url;
    }

    function gotoUrl(url) {
        location.href = url;
    }
</script>